package app;

import feign.config.SampleConfiguration;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.feign.EnableFeignClients;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;
import org.springframework.context.annotation.Import;
import ribbon.configuration.RibbonConfiguration;

/**
 * Created by Administrator on 2016/11/1.
 */
@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients("feign.client")
@EnableHystrix
@Import({SampleConfiguration.class, RibbonConfiguration.class})
public class SampleClientApplication {
    public static void main(String[] args) {
        SpringApplication.run(SampleClientApplication.class, args);
    }
}
